﻿using System;
using System.IO;
using System.Xml;
using System.Collections.Generic;
using System.Threading;
using System.Diagnostics;
using System.Runtime.InteropServices;

using Microsoft.BizTalk.TransportProxy.Interop;
using Microsoft.BizTalk.Message.Interop;
using Microsoft.BizTalk.Component.Interop;
using Microsoft.Samples.BizTalk.Adapter.Common;

namespace Sixeyed.CacheAdapter.Runtime
{
	/// <summary>
	/// Async batch transmitter
	/// </summary>
	public class CacheTransmitAdapterBatch : AsyncTransmitterBatch
	{
        /// <summary>
        /// Constructor with known state
        /// </summary>
        /// <param name="maxBatchSize"></param>
        /// <param name="propertyNamespace"></param>
        /// <param name="transportProxy"></param>
        /// <param name="asyncTransmitter"></param>
		public CacheTransmitAdapterBatch(int maxBatchSize, string propertyNamespace, IBTTransportProxy transportProxy,
					AsyncTransmitter asyncTransmitter)
			:
			   base(maxBatchSize, typeof(CacheTransmitterEndpoint), propertyNamespace, null, transportProxy, asyncTransmitter)
		{
		}
	}
}
